Skip to content

Conversation

@Jinash-Rouniyar
Copy link

Apologies for the previous pull request, which contained unrelated changes. This PR addresses issue #1248 by ensuring that TOC navigation actions are properly recorded in the in-page history, while still allowing JavaScript to handle scrolling. This prevents unnecessary page refreshes that would reset DOM states. The commit has been cleaned up to only include the relevant changes.

@kiwix/lieutenants Please review when available.

@ShaopengLin
Copy link
Collaborator

@Jinash-Rouniyar This is for #1248 (comment). Alt + Right is just forward navigation. This looks more like a bug of your own code.

@Jinash-Rouniyar Jinash-Rouniyar marked this pull request as ready for review March 8, 2025 16:18
@Jinash-Rouniyar
Copy link
Author

@kelson42 I have resolved the issues and TOC navigation is working as expected. I have now marked this pull request ready for review. Thanks.

@kelson42 kelson42 force-pushed the fix-toc-history-1248 branch from 957abc8 to 0b11cfd Compare March 12, 2025 07:32
@kelson42 kelson42 force-pushed the fix-toc-history-1248 branch from 0b11cfd to fbf9f2b Compare May 31, 2025 15:57
@Jinash-Rouniyar
Copy link
Author

Hi @kelson42 , I noticed this PR is still open. Since you’ve force-pushed to the branch before, I wanted to check: do you still want me to rebase/update the PR if it is still useful, or would it be better to close it for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants